/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.myself.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.myself.entity.DemoMyself;
import com.thinkgem.jeesite.modules.myself.dao.DemoMyselfDao;

/**
 * 个人管理Service
 * @author 大暑
 * @version 2019-09-22
 */
@Service
@Transactional(readOnly = true)
public class DemoMyselfService extends CrudService<DemoMyselfDao, DemoMyself> {

	public DemoMyself get(String id) {
		return super.get(id);
	}
	
	public List<DemoMyself> findList(DemoMyself demoMyself) {
		return super.findList(demoMyself);
	}
	
	public Page<DemoMyself> findPage(Page<DemoMyself> page, DemoMyself demoMyself) {
		return super.findPage(page, demoMyself);
	}
	
	@Transactional(readOnly = false)
	public void save(DemoMyself demoMyself) {
		super.save(demoMyself);
	}
	
	@Transactional(readOnly = false)
	public void delete(DemoMyself demoMyself) {
		super.delete(demoMyself);
	}
	
}